<template>
  <view class="all">
    <view>
      <!-- nav 导航栏 -->
      <view class="nav">
        <view class="nav_left">
          <image src="/static/zuojiant.png" alt="" />
        </view>
        <view class="nav_centen">我的金豆</view>
        <view class="nav_right">记录</view>
      </view>

      <view class="jind">
        <view class="jind_img">
            <image src="/static/jindou.png" alt="">
        </view>
        <view class="jind_centen">70</view>
        <view class="jind_right">
            <image src="/static/insert.png" alt="">
        </view>
      </view>

      <view class="signin">
          <view class="signin_top">
              <view class="signin_top_left">连续签到<view class="signin_top_one">1</view>天</view>
              <view class="signin_top_right">立即签到</view>
          </view>
          <view class="signin_centen">
              <view class="signin_centen_show">
                <view class="centen_show_jind">+5</view>
                <view class="centen_show_centen">
                    <image src="/static/added.png" alt="">
                </view>
                <view class="centen_show_rqi">4.17</view>
              </view>
              <view class="signin_centen_show">
                <view class="centen_show_jind">+5</view>
                <view class="centen_show_centen" v-if="this.value">
                    <image src="/static/added.png" alt="">
                </view>
                 <view class="centen_show_centen" v-else>
                    <image src="/static/add.png" alt="">
                </view>
                <view class="centen_show_rqi">4.17</view>
              </view>
          </view>
          <view></view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      list: [
        { name: "2022.5.26", type: "已签到" },
        { name: "2022.5.26", type: "未签到" },
        { name: "2022.5.26", type: "未签到" },
        { name: "2022.5.26", type: "未签到" },
        { name: "2022.5.26", type: "未签到" },
        { name: "2022.5.26", type: "未签到" },
        { name: "2022.5.26", type: "未签到" },
      ],
      value: "",
    };
  },
};
</script>

<style lang="scss" scoped>
.all {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: url("/static/bg.png");
  .nav {
    display: flex;
    margin-top: 57rpx;
    justify-content: space-between;
    align-items: center;
    .nav_left {
      width: 50rpx;
      height: 50rpx;
      margin-left: 39rpx;
      image {
        width: 100%;
        height: 100%;
      }
    }
    .nav_right {
      width: 56rpx;
      height: 50rpx;
      font-size: 28rpx;
      color: #356ce7;
      margin-right: 39rpx;
    }
    .nav_centen {
      font-size: 34rpx;
      color: #356ce7;
      font-weight: 700;
    }
  }
  .jind {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 210rpx;
    height: 56rpx;
    color: #fff;
    font-size: 40rpx;
    line-height: 56rpx;
    text-align: center;
    background-color: #87a3e3;
    border-radius: 28rpx;
    margin: 30rpx auto 53rpx auto;
    .jind_img {
      width: 68rpx;
      height: 60rpx;

      image {
        width: 100%;
        height: 100%;
      }
    }
    .jind_right {
      width: 44rpx;
      height: 44rpx;
      //   background-color: pink;
      image {
        width: 100%;
        height: 100%;
      }
    }
  }
  .signin {
    width: 698rpx;
    height: 390rpx;
    margin: 0 auto;
    border-radius: 10rpx;
    padding: 0 21rpx;
    box-sizing: border-box;
    background-color: #fff;
    overflow: hidden;
    .signin_top {
      display: flex;
      margin-top: 34rpx;
      justify-content: space-between;
      .signin_top_left {
        display: flex;
        font-size: 30rpx;
        color: #7276ac;
        line-height: 50rpx;
        .signin_top_one {
          font-size: 32rpx;
          color: #356ce7;
          margin: 0 5rpx;
        }
      }
      .signin_top_right {
        width: 158rpx;
        height: 50rpx;
        font-size: 26rpx;
        color: #356ce7;
        text-align: center;
        line-height: 50rpx;
        border: 1rpx solid #4e7ee9;
      }
    }
    .signin_centen {
      display: flex;
      margin-top: 26rpx;
      .signin_centen_show {
        width: 80rpx;
        margin-right: 16rpx;
        .centen_show_jind {
          font-size: 30rpx;
          color: #356ce7;
          text-align: center;
          font-weight: 700;
        }
        .centen_show_centen {
          width: 80rpx;
          height: 100rpx;
          margin: 8rpx 0 6rpx 0;
          background-color: #fd9250;
          image {
            width: 100%;
            height: 100%;
          }
        }
        .centen_show_rqi {
          font-size: 24rpx;
          color: #888888;
          text-align: center;
        }
      }
    }
  }
}
</style>